﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCenter/UserMain.Master" AutoEventWireup="true" CodeBehind="Interestcomp.aspx.cs" Inherits="Exhibition.UserCenter.Interestcomp" %>
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div class="title">我关注的展商</div>
    <div class="m_conbor">
        <table cellpadding="0" cellspacing="0" border="0" class="gzgztable">
            <tr class="gz_title">
                <td class="td1">
                    <input type="checkbox" /></td>
                <td class="td2"><b>公司名称</b></td>
                <td class="td3"><b>感兴趣的产品</b></td>
                <td class="td4"><b>类型</b></td>
                <td class="td5"><b>级别</b></td> 
                <td class="td7"><b>操作</b></td>
            </tr>
            <asp:Repeater ID="repList" runat="server">
                <ItemTemplate>

             
            <tr>
                <td class="td1">
                    <input type="checkbox" /></td>
                <td><a onclick="ShowCompInfo('<%#Eval("Id") %>','<%#Eval("CompName") %>详情')"><%#Eval("CompName") %></a> <span class="new">new</span></td>
                <td></td>
                <td><%#Eval("UserType") %></td>
               
                <td class="xing">
                    <div id='star<%#Eval("Id") %>'></div><div id='result<%#Eval("Id") %>'></div>  </td>
                <td><a href="javascript:" onclick="Attention('<%#Eval("Id") %>')">[关注]</a></td>

                <script type="text/javascript">
                    $("#result<%#Eval("Id") %>").hide();//将结果DIV隐藏
                    $('#star<%#Eval("Id") %>').raty({
                        hints: ['1', '2', '3', '4', '5'],
                        path: "../images",
                        starOff: 'star-off-big.png',
                        starOn: 'star-on-big.png',
                        size: 24,
                        readOnly: true,
                        target: '#result<%#Eval("Id") %>',
                        score: '<%#Eval("UserLevel") %>'
                    });



    </script>
            </tr>
                       </ItemTemplate>

            </asp:Repeater>
             
            <tr>
                <td colspan="7" class="dbtd"><a href="#">删除</a></td>
            </tr>
        </table>
        
        <div class="page">
            <ul>
                 <Jdom:AspNetPager ID="pager"  runat="server"></Jdom:AspNetPager>
             </ul>
        </div>
    </div>

</asp:Content>
